package com.spring.demo.core.rmi;

import java.util.List;

import com.spring.demo.core.entity.User;

/**
 * rmi user service
 * 
 * @author sean
 * 
 */
public interface IRMIUserService {

	/**
	 * 添加用户
	 * 
	 * @param user
	 * @return
	 */
	boolean addUser(User user);

	/**
	 * 删除用户
	 * 
	 * @param user
	 * @return
	 */
	boolean deleteUser(User user);

	/**
	 * 获取用户列表
	 * 
	 * @return
	 */
	List<User> getUserList();
}
